package com.winter.mapper;

import com.winter.model.NewVerification;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface NewVerificationMapper {
    int deleteByPrimaryKey(String id);

    int insert(NewVerification record);

    int insertSelective(NewVerification record);

    NewVerification selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NewVerification record);

    int updateByPrimaryKey(NewVerification record);

    NewVerification selectByPhone(@Param("phone") String phone, @Param("type")String type);
}